200
|
How do I arrange my columns on multiple lines
![](images/exlistq200.png)
With Exlist1
.HeaderHeight = 32
.Columns.Add("").HTMLCaption = "Line 1<br>Line 2"
End With
|
199
|
How can I display all cells using HTML format
![](images/exlistq199.png)
With Exlist1
.Columns.Add("HTML").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1)
.Items.Add("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>.")
End With
|
198
|
How can I display all cells using multiple lines
![](images/exlistq198.png)
With Exlist1
.Columns.Add("MultipleLine").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellSingleLine,False)
.Columns.Add("SingleLine").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellSingleLine,True)
With .Items
.set_Caption(.Add("This is a bit of long text that should break the line"),1,"this is a bit of long text that's displayed on a single line")
End With
End With
|
197
|
How do change the vertical alignment for all cells in the column
![](images/exlistq197.png)
With Exlist1
.Columns.Add("MultipleLine").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellSingleLine,False)
.Columns.Add("VAlign").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellVAlignment,2)
With .Items
.set_Caption(.Add("This is a bit of long text that should break the line"),1,"bottom")
End With
With .Items
.set_Caption(.Add("This is a bit of long text that should break the line"),1,"bottom")
End With
End With
|
196
|
How do change the foreground color for all cells in the column
![](images/exlistq196.png)
With Exlist1
.Columns.Add("ForeColor").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellForeColor,255)
.Items.Add(0)
.Items.Add(1)
End With
|
195
|
How do change the background color for all cells in the column
![](images/exlistq195.png)
With Exlist1
.Columns.Add("BackColor").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellBackColor,255)
.Items.Add(0)
.Items.Add(1)
End With
|
194
|
How do I show buttons for all cells in the column
![](images/exlistq194.png)
With Exlist1
With .Columns.Add("Button")
.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasButton,True)
.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasButton Or exontrol.EXLISTLib.DefColumnEnum.exCellHasRadioButton,True)
End With
.Items.Add(" Button 1 ")
.Items.Add(" Button 2 ")
End With
|
193
|
How do I show buttons for all cells in the column
![](images/exlistq193.png)
With Exlist1
.Columns.Add("Button").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasButton,True)
.Items.Add(0)
.Items.Add(1)
End With
|
192
|
How do I display radio buttons for all cells in the column
![](images/exlistq192.png)
With Exlist1
.Columns.Add("Radio").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasRadioButton,True)
.Items.Add(0)
.Items.Add(1)
End With
|
191
|
How do I display checkboxes for all cells in the column
![](images/exlistq191.png)
With Exlist1
.Columns.Add("Check").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasCheckBox,True)
.Items.Add(0)
.Items.Add(1)
End With
|
190
|
How can I display a tooltip when the cursor hovers the column
![](images/exlistq190.png)
With Exlist1
.Columns.Add("tooltip").ToolTip = "This is a bit of text that is shown when user hovers the column."
End With
|
189
|
Is there any function to assign a key to a column instead using its name or capion
![](images/exlistq189.png)
With Exlist1
.Columns.Add("Data").Key = "DKey"
.Columns.Item("DKey").Caption = "new caption"
End With
|
188
|
Is there any function to assign any extra data to a column
![](images/exlistq188.png)
With Exlist1
.Columns.Add("Data").Data = "your extra data"
End With
|
187
|
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header
![](images/exlistq187.png)
With Exlist1
.Columns.Add("Sort").DefaultSortOrder = True
End With
|
186
|
How can I specify the maximum width for the column, if I use WidthAutoResize property
![](images/exlistq186.png)
With Exlist1
With .Columns.Add("Auto")
.WidthAutoResize = True
.MinWidthAutoResize = 32
.MaxWidthAutoResize = 128
End With
.Items.Add(0)
.Items.Add(1)
End With
|
185
|
How can I specify the minimum width for the column, if I use WidthAutoResize property
![](images/exlistq185.png)
With Exlist1
With .Columns.Add("Auto")
.WidthAutoResize = True
.MinWidthAutoResize = 32
End With
.Items.Add(0)
.Items.Add(1)
End With
|
184
|
Is there any option to resize the column based on its data, captions
![](images/exlistq184.png)
With Exlist1
.Columns.Add("A").WidthAutoResize = True
.Items.Add(0)
.Items.Add(1)
End With
|
183
|
How can I align the icon in the column's header in the center
![](images/exlistq183.png)
With Exlist1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Columns.Add("")
.HeaderImage = 1
.HeaderImageAlignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment
End With
End With
|
182
|
How do I align the icon in the column's header to the right
![](images/exlistq182.png)
With Exlist1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Columns.Add("ColumnName")
.HeaderImage = 1
.HeaderImageAlignment = exontrol.EXLISTLib.AlignmentEnum.RightAlignment
End With
End With
|
181
|
How do I show or hide the sorting icons, but still need sorting
![](images/exlistq181.png)
With Exlist1
.Columns.Add("Sorted").SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortAscending
.Columns.Item(0).DisplaySortIcon = False
End With
|
180
|
How do I enable or disable the entire column
![](images/exlistq180.png)
With Exlist1
.Columns.Add("C1")
.Columns.Add("Disabled").Enabled = False
With .Items
.set_Caption(.Add(0),1,"0.1")
End With
With .Items
.set_Caption(.Add(1),1,"1.1")
End With
End With
|
179
|
How do I disable drag and drop columns
With Exlist1
.Columns.Add("C1").AllowDragging = False
.Columns.Add("C2").AllowDragging = False
End With
|
178
|
How do I disable resizing a column at runtime
![](images/exlistq178.png)
With Exlist1
.Columns.Add("Unsizable").AllowSizing = False
.Columns.Add("C2")
.Columns.Add("C3")
.Columns.Add("C4")
End With
|
177
|
How can I align the column to the right, and its caption too
![](images/exlistq177.png)
With Exlist1
With .Columns.Add("Column")
.Alignment = exontrol.EXLISTLib.AlignmentEnum.RightAlignment
.HeaderAlignment = exontrol.EXLISTLib.AlignmentEnum.RightAlignment
End With
.Items.Add(0)
.Items.Add(1)
End With
|
176
|
How can I align the column to the right
![](images/exlistq176.png)
With Exlist1
.Columns.Add("Column").Alignment = exontrol.EXLISTLib.AlignmentEnum.RightAlignment
.Items.Add(0)
.Items.Add(1)
End With
|
175
|
How do I change the column's caption
![](images/exlistq175.png)
With Exlist1
.Columns.Add("Column").Caption = "new caption"
End With
|
174
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
![](images/exlistq174.png)
With Exlist1
.set_FormatAnchor(False,"<b><u><fgcolor=880000> </fgcolor></u></b>")
.Columns.Add("Column")
With .Items
.set_CaptionFormat(.Add("Just an <a1>anchor</a> element ..."),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML)
End With
With .Items
.set_CaptionFormat(.Add("Just another <a2>anchor</a> element ..."),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML)
End With
.Items.Add("next item")
End With
|
173
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
![](images/exlistq173.png)
With Exlist1
.set_FormatAnchor(True,"<b><u><fgcolor=FF0000> </fgcolor></u></b>")
.Columns.Add("Column")
With .Items
.set_CaptionFormat(.Add("Just an <a1>anchor</a> element ..."),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML)
End With
With .Items
.set_CaptionFormat(.Add("Just another <a2>anchor</a> element ..."),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML)
End With
End With
|
172
|
Can I change the font for the tooltip
![](images/exlistq172.png)
With Exlist1
.ToolTipDelay = 1
.ToolTipWidth = 364
.Columns.Add("tootip").ToolTip = "<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>"
End With
|
171
|
Can I change the font for the tooltip
![](images/exlistq171.png)
With Exlist1
.ToolTipDelay = 1
With .ToolTipFont
.Name = "Tahoma"
.Size = 14
End With
.ToolTipWidth = 364
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
|
170
|
Can I change the order of the buttons in the scroll bar
![](images/exlistq170.png)
With Exlist1
.set_ScrollOrderParts(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,"t,l,r")
.set_ScrollOrderParts(exontrol.EXLISTLib.ScrollBarEnum.exVScroll,"t,l,r")
.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableBoth
End With
|
169
|
The thumb size seems to be very small. Can I make it bigger
![](images/exlistq169.png)
With Exlist1
.ColumnAutoResize = False
.Columns.Add("C1").Width = 256
.Columns.Add("C2").Width = 256
.Columns.Add("C3").Width = 256
.set_ScrollThumbSize(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,64)
End With
|
168
|
How can I display my text on the scroll bar, using a different font
![](images/exlistq168.png)
With Exlist1
.set_ScrollPartCaption(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exThumbPart,"This is <s><font Tahoma;12> just </font></s> text")
.ColumnAutoResize = False
.ScrollHeight = 20
.Columns.Add("C1").Width = 256
.Columns.Add("C2").Width = 256
.Columns.Add("C3").Width = 256
End With
|
167
|
How can I display my text on the scroll bar, using a different font
![](images/exlistq167.png)
With Exlist1
.set_ScrollPartCaption(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exThumbPart,"This is just a text")
.get_ScrollFont(exontrol.EXLISTLib.ScrollBarEnum.exHScroll).Size = 12
.ColumnAutoResize = False
.ScrollHeight = 20
.Columns.Add("C1").Width = 256
.Columns.Add("C2").Width = 256
.Columns.Add("C3").Width = 256
End With
|
166
|
How can I display my text on the scroll bar
![](images/exlistq166.png)
With Exlist1
.set_ScrollPartCaption(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exThumbPart,"this is just a text")
.ColumnAutoResize = False
.Columns.Add("C1").Width = 256
.Columns.Add("C2").Width = 256
.Columns.Add("C3").Width = 256
End With
|
165
|
How do I enlarge or change the size of the control's scrollbars
![](images/exlistq165.png)
With Exlist1
.ScrollHeight = 18
.ScrollWidth = 18
.ScrollButtonWidth = 18
.ScrollButtonHeight = 18
.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableBoth
End With
|
164
|
How do I assign a tooltip to a scrollbar
![](images/exlistq164.png)
With Exlist1
.set_ScrollToolTip(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar")
.ColumnAutoResize = False
.Columns.Add("C1").Width = 256
.Columns.Add("C2").Width = 256
.Columns.Add("C3").Width = 256
End With
|
163
|
How do I assign an icon to the button in the scrollbar
![](images/exlistq163.png)
With Exlist1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
.set_ScrollPartVisible(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exLeftB1Part,True)
.set_ScrollPartCaption(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exLeftB1Part,"<img>1</img>")
.ScrollHeight = 18
.ScrollButtonWidth = 18
.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableNoHorizontal
End With
|
162
|
I need to add a button in the scroll bar. Is this possible
![](images/exlistq162.png)
With Exlist1
.set_ScrollPartVisible(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exLeftB1Part,True)
.set_ScrollPartCaption(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exLeftB1Part,"1")
.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableNoHorizontal
End With
|
161
|
Can I display an additional buttons in the scroll bar
![](images/exlistq161.png)
With Exlist1
.set_ScrollPartVisible(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exLeftB1Part,True)
.set_ScrollPartVisible(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exLeftB2Part,True)
.set_ScrollPartVisible(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exRightB6Part,True)
.set_ScrollPartVisible(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exRightB5Part,True)
.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableNoHorizontal
End With
|
160
|
How can I display a custom size picture to a cell or item
![](images/exlistq160.png)
With Exlist1
.DefaultItemHeight = 48
.Columns.Add("C1")
With .Items
.set_CellPicture(.Add("Text"),0,Exlist1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)"))
End With
End With
|
159
|
How can I display a multiple pictures to a cell or item
![](images/exlistq159.png)
With Exlist1
.DefaultItemHeight = 48
.set_HTMLPicture("pic1","c:\exontrol\images\zipdisk.gif")
.set_HTMLPicture("pic2","c:\exontrol\images\auction.gif")
.Columns.Add("C1")
With .Items
.set_CaptionFormat(.Add("<img>pic1</img> Text <img>pic2</img> another text ..."),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML)
End With
End With
|
158
|
How do I change the column's foreground color for numbers between an interval - Range
![](images/exlistq158.png)
With Exlist1
With .ConditionalFormats.Add("%0 >= 2 and %0 <= 10")
.Bold = True
.ForeColor = Color.FromArgb(255,0,0)
.ApplyTo = &H1
End With
.Columns.Add("N1")
.Columns.Add("N2")
With .Items
.set_Caption(.Add(1),1,2)
End With
With .Items
.set_Caption(.Add(3),1,3)
End With
With .Items
.set_Caption(.Add(10),1,11)
End With
With .Items
.set_Caption(.Add(13),1,31)
End With
.SearchColumnIndex = 1
End With
|
157
|
How do I change the item's foreground color for numbers between an interval - Range
![](images/exlistq157.png)
With Exlist1
.ConditionalFormats.Add("%0 >= 2 and %0 <= 10").ForeColor = Color.FromArgb(255,0,0)
.Columns.Add("Numbers")
.Items.Add(1)
.Items.Add(2)
.Items.Add(10)
.Items.Add(20)
End With
|
156
|
How do I change the item's background color for numbers less than a value
![](images/exlistq156.png)
With Exlist1
.ConditionalFormats.Add("%0 < 10").BackColor = Color.FromArgb(255,0,0)
.Columns.Add("Numbers")
.Items.Add(1)
.Items.Add(2)
.Items.Add(10)
.Items.Add(20)
End With
|
155
|
How do I underline the numbers greater than a value
![](images/exlistq155.png)
With Exlist1
.ConditionalFormats.Add("%0 >= 10").Underline = True
.Columns.Add("Numbers")
.Items.Add(1)
.Items.Add(2)
.Items.Add(10)
.Items.Add(20)
End With
|
154
|
How do I highlight in italic the numbers greater than a value
![](images/exlistq154.png)
With Exlist1
.ConditionalFormats.Add("%0 >= 10").StrikeOut = True
.Columns.Add("Numbers")
.Items.Add(1)
.Items.Add(2)
.Items.Add(10)
.Items.Add(20)
End With
|
153
|
How do I highlight in italic the numbers greater than a value
![](images/exlistq153.png)
With Exlist1
.ConditionalFormats.Add("%0 >= 10").Italic = True
.Columns.Add("Numbers")
.Items.Add(1)
.Items.Add(2)
.Items.Add(10)
.Items.Add(20)
End With
|
152
|
How do I highlight in bold the numbers greater than a value
![](images/exlistq152.png)
With Exlist1
.ConditionalFormats.Add("%0 >= 10").Bold = True
.Columns.Add("Numbers")
.Items.Add(1)
.Items.Add(2)
.Items.Add(10)
.Items.Add(20)
End With
|
151
|
Can I use your EBN files to change the visual appearance for radio buttons
![](images/exlistq151.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.set_RadioImage(False,16777216)
.set_RadioImage(True,33554432)
.Columns.Add("Radio").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasRadioButton,True)
With .Items
.Add("Radio 1")
.set_CellState(.Add("Radio 2"),0,1)
.Add("Radio 3")
End With
End With
|
150
|
Can I use your EBN files to change the visual appearance for checkbox cells
![](images/exlistq150.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.set_CheckImage(exontrol.EXLISTLib.CheckStateEnum.Unchecked,16777216)
.set_CheckImage(exontrol.EXLISTLib.CheckStateEnum.Checked,33554432)
.Columns.Add("Check").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasCheckBox,True)
With .Items
.Add("Check 1")
.set_CellState(.Add("Check 2"),0,1)
End With
End With
|
149
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
![](images/exlistq149.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exHSThumb,&H1000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exHSThumbP,&H2000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exHSThumbH,&H3000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exVSThumb,&H1000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exVSThumbP,&H2000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exVSThumbH,&H3000000)
.ColumnAutoResize = False
.ScrollBySingleLine = True
.Columns.Add("S").Width = 483
With .Items
.set_ItemHeight(.Add("Item 1"),248)
End With
.Items.Add("Item 2")
End With
|
148
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
![](images/exlistq148.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exHSThumb,&H1000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exHSThumbP,&H2000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exHSThumbH,&H3000000)
.ColumnAutoResize = False
.Columns.Add("S").Width = 483
End With
|
147
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that
![](images/exlistq147.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exSBtn,&H1000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exSBtnP,&H2000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exSBtnH,&H3000000)
.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exHSBack,Color.FromArgb(240,240,240))
.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240))
.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exScrollSizeGrip,Color.FromArgb(240,240,240))
.Columns.Add("S").Width = 32
.Columns.Add("Level 1").LevelKey = 1
.Columns.Add("Level 2").LevelKey = 1
.Columns.Add("Level 3").LevelKey = 1
.Columns.Add("E1").Width = 32
.Columns.Add("E2").Width = 32
.Columns.Add("E3").Width = 32
.Columns.Add("E4").Width = 32
.ColumnAutoResize = False
.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableBoth
End With
|
146
|
Is there any option to highligth the column from the cursor - point
![](images/exlistq146.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exCursorHoverColumn,&H1000000)
.Columns.Add("S").Width = 32
.Columns.Add("Level 1").LevelKey = 1
.Columns.Add("Level 2").LevelKey = 1
.Columns.Add("Level 3").LevelKey = 1
.Columns.Add("E1").Width = 32
.Columns.Add("E2").Width = 32
.Columns.Add("E3").Width = 32
.Columns.Add("E4").Width = 32
End With
|
145
|
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology
![](images/exlistq145.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exSelBackColorFilter,&H1000000)
.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exSelForeColorFilter,Color.FromArgb(255,20,20))
.Columns.Add("Filter").DisplayFilterButton = True
End With
|
144
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN
![](images/exlistq144.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exDateHeader,&H1000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exDateTodayUp,&H1000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exDateTodayDown,&H2000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exDateScrollThumb,&H1000000)
.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exDateScrollRange,Color.FromArgb(230,230,230))
.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exDateSeparatorBar,Color.FromArgb(230,230,230))
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exDateSelect,&H1000000)
With .Columns.Add("Date")
.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exDate
.DisplayFilterButton = True
.DisplayFilterDate = True
End With
End With
|
143
|
How do I change the visual aspect of the close button in the filter bar, using EBN
![](images/exlistq143.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exFooterFilterBarButton,&H1000000)
.Columns.Add("Filter").FilterType = exontrol.EXLISTLib.FilterTypeEnum.exBlanks
.ApplyFilter()
End With
|
142
|
How do I change the visual aspect of buttons in the cell, using EBN
![](images/exlistq142.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exCellButtonUp,&H1000000)
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exCellButtonDown,&H2000000)
.SelForeColor = Color.FromArgb(0,0,0)
.ShowFocusRect = False
.Columns.Add("Column 1").set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasButton,True)
.Items.Add("Button 1")
.Items.Add("Button 2")
.Columns.Add("Column 2")
End With
|
141
|
How do I change the visual aspect of the drop down filter button, using EBN
![](images/exlistq141.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exHeaderFilterBarButton,&H1000000)
.Columns.Add("Filter").DisplayFilterButton = True
End With
|
140
|
How do I enable resizing the columns at runtime
![](images/exlistq140.png)
With Exlist1
.ColumnsAllowSizing = True
.MarkSearchColumn = False
.HeaderVisible = False
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exVLines
With .Items
.set_Caption(.Add("Item 1"),1,"Sub Item 1")
End With
With .Items
.set_Caption(.Add("Item 2"),1,"Sub Item 2")
End With
End With
|
139
|
How can I sort by multiple columns
![](images/exlistq139.png)
With Exlist1
.SingleSort = False
.Columns.Add("C1").SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortAscending
.Columns.Add("C2").SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortDescending
.Columns.Add("C3").SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortAscending
End With
|
138
|
How can I add several columns to control's sort bar
![](images/exlistq138.png)
With Exlist1
.SortBarVisible = True
.SortBarColumnWidth = 48
.Columns.Add("C1").SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortAscending
.Columns.Add("C2").SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortDescending
End With
|
137
|
How can I change the width of the columns being displayed in the sort bar
![](images/exlistq137.png)
With Exlist1
.SortBarVisible = True
.SortBarColumnWidth = 48
.Columns.Add("C1").SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortAscending
.Columns.Add("C2").SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortDescending
End With
|
136
|
How can I change the height of the sort bar's
![](images/exlistq136.png)
With Exlist1
.SortBarVisible = True
.SortBarHeight = 48
End With
|
135
|
How can I change the sort bar's foreground color
![](images/exlistq135.png)
With Exlist1
.SortBarVisible = True
.ForeColorSortBar = Color.FromArgb(255,0,0)
End With
|
134
|
How can I change the visual appearance of the control's sort bar, using EBN files
![](images/exlistq134.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.SortBarVisible = True
.BackColorSortBar32 = &H1000000
.BackColorSortBarCaption32 = &H2000000
.Appearance = exontrol.EXLISTLib.AppearanceEnum.None2
End With
|
133
|
How can I change the sort bar's background color
![](images/exlistq133.png)
With Exlist1
.SortBarVisible = True
.BackColorSortBar = Color.FromArgb(255,0,0)
.BackColorSortBarCaption = Color.FromArgb(128,0,0)
End With
|
132
|
How can I change the default caption being displayed in the control's sort bar
![](images/exlistq132.png)
With Exlist1
.SortBarVisible = True
.SortBarCaption = "new caption"
End With
|
131
|
How can I show the control's sort bar
![](images/exlistq131.png)
With Exlist1
.SortBarVisible = True
End With
|
130
|
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled
![](images/exlistq130.png)
With Exlist1
.PictureLevelHeader = Exlist1.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
.PictureDisplayLevelHeader = exontrol.EXLISTLib.PictureDisplayEnum.Stretch
.Columns.Add("S").Width = 32
.Columns.Add("Level 1").LevelKey = 1
.Columns.Add("Level 2").LevelKey = 1
.Columns.Add("Level 3").LevelKey = 1
.Columns.Add("E1").Width = 32
.Columns.Add("E2").Width = 32
.Columns.Add("E3").Width = 32
.Columns.Add("E4").Width = 32
End With
|
129
|
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled
![](images/exlistq129.png)
With Exlist1
.PictureLevelHeader = Exlist1.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
.PictureDisplayLevelHeader = exontrol.EXLISTLib.PictureDisplayEnum.MiddleRight
.Columns.Add("S").Width = 32
.Columns.Add("Level 1").LevelKey = 1
.Columns.Add("Level 2").LevelKey = 1
.Columns.Add("Level 3").LevelKey = 1
.Columns.Add("E").Width = 32
End With
|
128
|
How can I display a picture on the control's header, when multiple levels are displayed
![](images/exlistq128.png)
With Exlist1
.PictureLevelHeader = Exlist1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.Columns.Add("S").Width = 32
.Columns.Add("Level 1").LevelKey = 1
.Columns.Add("Level 2").LevelKey = 1
.Columns.Add("Level 3").LevelKey = 1
End With
|
127
|
How can I change the header's background color, when multiple levels are displayed
With Exlist1
.BackColorLevelHeader = Color.FromArgb(250,0,0)
.Columns.Add("S").Width = 32
.Columns.Add("Level 1").LevelKey = 1
.Columns.Add("Level 2").LevelKey = 1
.Columns.Add("Level 3").LevelKey = 1
End With
|
126
|
Can I programmatically scroll the control
![](images/exlistq126.png)
With Exlist1
.DefaultItemHeight = 32
.Columns.Add("Column")
.Items.Add(0)
.Items.Add(1)
.Items.Add(2)
.Items.Add(3)
.PutItems(.GetItems(0))
.PutItems(.GetItems(0))
.set_ScrollPos(True,1)
End With
|
125
|
Do you have some function to load data from a safe array
With Exlist1
.Columns.Add("Column")
.Items.Add(0)
.PutItems(.GetItems(0))
End With
|
124
|
Do you have some function to retrieve all items to a safe array
With Exlist1
.Columns.Add("Column")
.Items.Add(0)
.PutItems(.GetItems(0))
.Items.Add(1)
.PutItems(.GetItems(0))
.Items.Add(2)
.PutItems(.GetItems(0))
.Items.Add(3)
End With
|
123
|
How can still display the selected items when the control loses the focus
![](images/exlistq123.png)
With Exlist1
.HideSelection = False
.Columns.Add("Column")
With .Items
.Add("Item 3")
.Add("Item 1")
.set_SelectItem(.Add("Item 2"),True)
End With
End With
|
122
|
How can I hide a column
![](images/exlistq122.png)
With Exlist1
.Columns.Add("Hidden").Visible = False
.Columns.Add("2")
.Columns.Add("3")
.Columns.Add("4")
.Columns.Add("5")
End With
|
121
|
How can I ensure that a column is visible and fits the control's client area
With Exlist1
.ColumnAutoResize = False
.Columns.Add("1").Width = 128
.Columns.Add("2").Width = 128
.Columns.Add("3").Width = 128
.Columns.Add("4").Width = 128
.Columns.Add("5").Width = 128
.Items.EnsureVisibleColumn("5")
End With
|
120
|
I've seen that the width of the tooltip is variable. Can I make it larger
![](images/exlistq120.png)
With Exlist1
.ToolTipWidth = 328
.Columns.Add("tootip").ToolTip = "this is a tooltip that should be very very very very very very very long"
End With
|
119
|
How do I disable showing the tooltip for all control
With Exlist1
.ToolTipDelay = 0
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
|
118
|
How do I let the tooltip being displayed longer
![](images/exlistq118.png)
With Exlist1
.ToolTipPopDelay = 10000
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
|
117
|
How do I show the tooltip quicker
With Exlist1
.ToolTipDelay = 1
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
|
116
|
How do I change the caption being displayed in the control's filter bar
![](images/exlistq116.png)
With Exlist1
.FilterBarCaption = "your filter caption"
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
115
|
How do I search case sensitive, using your incremental search feature
![](images/exlistq115.png)
With Exlist1
.AutoSearch = True
With .Columns
.Add("exStartWith").AutoSearch = exontrol.EXLISTLib.AutoSearchEnum.exStartWith
.Add("exContains").AutoSearch = exontrol.EXLISTLib.AutoSearchEnum.exContains
End With
With .Items
.set_Caption(.Add("text"),1,"another text")
End With
With .Items
.set_Caption(.Add("text"),1,"another text")
End With
End With
|
114
|
How do I disable the control
With Exlist1
.Enabled = False
End With
|
113
|
How do I enable the incremental search feature within a column
![](images/exlistq113.png)
With Exlist1
.AutoSearch = True
With .Columns
.Add("exStartWith").AutoSearch = exontrol.EXLISTLib.AutoSearchEnum.exStartWith
.Add("exContains").AutoSearch = exontrol.EXLISTLib.AutoSearchEnum.exContains
End With
With .Items
.set_Caption(.Add("text"),1,"another text")
End With
With .Items
.set_Caption(.Add("text"),1,"another text")
End With
End With
|
112
|
How do I call your x-script language
![](images/exlistq112.png)
With Exlist1
With .ExecuteTemplate("Columns.Add(`Column`)")
.HeaderStrikeOut = True
.HeaderBold = True
End With
End With
|
111
|
How do I call your x-script language
![](images/exlistq111.png)
With Exlist1
.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`"
End With
|
110
|
How do I show alternate rows in different background color
![](images/exlistq110.png)
With Exlist1
.BackColorAlternate = Color.FromArgb(240,240,240)
.Columns.Add("Column")
With .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
.Add("Item 4")
.Add("Item 5")
End With
End With
|
109
|
How do I enlarge the drop down filter window
![](images/exlistq109.png)
With Exlist1
.FilterBarDropDownHeight = -320
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterBarDropDownWidth = -320
End With
.Items.Add("Item 1")
.Items.Add("Item 2")
End With
|
108
|
How do I filter programatically the control
![](images/exlistq108.png)
With Exlist1
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exPattern
.Filter = "Item*"
End With
.Items.Add("Item 1")
.Items.Add("")
.Items.Add("Item 2")
.ApplyFilter()
End With
|
107
|
How do I change the font of the control's filterbar
![](images/exlistq107.png)
With Exlist1
.FilterBarFont.Size = 20
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
106
|
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance
![](images/exlistq106.png)
With Exlist1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.FilterBarBackColor32 = &H1000000
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
105
|
How do I change the background color of the control's filterbar
![](images/exlistq105.png)
With Exlist1
.FilterBarBackColor = Color.FromArgb(240,240,240)
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
104
|
How do I change the foreground color of the control's filterbar
![](images/exlistq104.png)
With Exlist1
.FilterBarForeColor = Color.FromArgb(255,0,0)
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
103
|
How do I change the height of the control's filterbar
![](images/exlistq103.png)
With Exlist1
.FilterBarHeight = 32
With .Columns.Add("Column")
.DisplayFilterButton = True
.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exBlanks
End With
.ApplyFilter()
End With
|
102
|
How do select only a portion of text when the control starts editing a cell
![](images/exlistq102.png)
With Exlist1
.AllowEdit = True
.SelStart = 1
.SelLength = 1
.Columns.Add("Column")
.Items.Add("Item 1")
.Items.Add("Item 2")
End With
|
101
|
How do I change the header's foreground color
![](images/exlistq101.png)
With Exlist1
.ForeColorHeader = Color.FromArgb(255,0,0)
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.Add("Item 1")
End With
|